package com.cro.prison.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cro.prison.entity.pojo.DailyBehavior;
import com.cro.prison.entity.pojo.Prisoner;
import com.cro.prison.entity.vo.BehaviorCountVo;
import com.cro.prison.entity.vo.DailyBehaviorVo;

import java.sql.Date;
import java.util.List;

public interface DailyBehaviorService extends IService<DailyBehavior> {


    List<DailyBehaviorVo> getDailyBehavior(Long personId, Date beginDate, Date endDate);

    List<DailyBehavior> getDailyBehaviorByPersonIdAndDate(Long personId, Date date,Integer type);

    String getToAnalyseWeb(List<Prisoner> prisonerList);

    List<DailyBehaviorVo> getAllDailyBehavior(Date begin, Date end);

    List<BehaviorCountVo> selectByType(Integer prisonerType);

    List<BehaviorCountVo> selectByTypeByDate();

    List<BehaviorCountVo> selectAllBehaviorCount();
}
